package com.cly.cart.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.cly.common.entity.cart.dto.CartDTO;
import com.cly.common.entity.cart.po.Cart;
import com.cly.common.entity.result.Result;

public interface CartService extends IService<Cart> {
    Result addCart(CartDTO cartDTO);

    Result getCart(Integer pageNum, Integer pageSize);

    Result numAdd(Long itemId, Integer num);

    Result deleteCart(Long id);
}

